package org.jarraiders.musiclibrary.client.view;

import org.jarraiders.musiclibrary.client.presenter.AlbumsPresenter;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.Widget;

public class AlbumsPopupPanel extends PopupPanel {
	private int index;
	private AlbumsPresenter presenter;

	private static AlbumsPopupPanelUiBinder uiBinder = GWT.create(AlbumsPopupPanelUiBinder.class);

	interface AlbumsPopupPanelUiBinder extends UiBinder<Widget, AlbumsPopupPanel> {
	}
	
	@UiField
	Button editButton;
	@UiField
	Button deleteButton;

	public AlbumsPopupPanel() {
		setWidget(uiBinder.createAndBindUi(this));
	}
	public AlbumsPopupPanel(int index) {
		this.index=index;
		setWidget(uiBinder.createAndBindUi(this));
	}
	public AlbumsPopupPanel(int index, AlbumsPresenter presenter) {
		this.index=index;
		this.presenter=presenter;
		setWidget(uiBinder.createAndBindUi(this));
	}
	
	
}
